package com.yq.model.bo;

import java.util.List;

public class AdminAddGoodsBO {


    /**
     * img : /static/image/a/1/b/0/e/2/a/d/a970ac32-b859-42d3-97f1-38805f3ce82f-我的头像.jpg
     * name : iphone
     * specList : [{"unitPrice":"1","specName":"默认","stockNum":"1"},{"unitPrice":"2","specName":"2","stockNum":"2"},{"unitPrice":"23","specName":"23","stockNum":"23"}]
     * typeId : 1
     * desc : 111122233333
     */
    private String img;
    private String name;
    private List<SpecListEntity> specList;
    private Integer typeId;
    private String desc;

    public void setImg(String img) {
        this.img = img;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSpecList(List<SpecListEntity> specList) {
        this.specList = specList;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getImg() {
        return img;
    }

    public String getName() {
        return name;
    }

    public List<SpecListEntity> getSpecList() {
        return specList;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "AdminAddGoodsBO{" +
                "img='" + img + '\'' +
                ", name='" + name + '\'' +
                ", specList=" + specList +
                ", typeId='" + typeId + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
